//
//  EQQuestionModel.swift
//  EQQuestionBank
//
//  Created by Macx on 2018/8/5.
//  Copyright © 2018年 FanWeiJian. All rights reserved.
//

import Foundation
import HandyJSON

struct EQQuestionModel : HandyJSON {
    var content : String!
    var id : String!
    var type : String!
}

struct EQOCRResultModel : HandyJSON {
    var words_result : [EQOCRWordModel]!
    
    func getText() -> String{
        var text = ""
        if self.words_result != nil && self.words_result.count > 0 {
            self.words_result.forEach { text.append($0.words)}
        }
        return text
    }
}

struct EQOCRWordModel : HandyJSON{
    var words : String!
}

struct EQAnalysisModel : HandyJSON {
    var content : String!
    var id : String!
    var keypoints : String!
    var solution : String!
}
